package com.zsrt.java.ex5;

public class CarTest {
	
	public static void main(String[] args) {
		
		ComCar bmw=new Car();
		bmw.setId(1);
		bmw.setName("宝马");
		bmw.setPrice(1000000000);
		bmw.setType("好车");
		bmw.info();
		
		
		
		CarOf007 nb=new CarOf007(bmw);
		
		nb.info();
	}

}
